﻿#ifndef __UI_TOOLMENU_H__
#define __UI_TOOLMENU_H__

#include "../UIBase/QCMultiMenu.h"

#include <QBasicTimer>
#include <QTimerEvent>

class UIToolMenu : public QCMultiMenu
{
    Q_OBJECT
public:
    explicit UIToolMenu(QWidget *parent = 0);
    ~UIToolMenu();

protected:
    virtual void paintEvent(QPaintEvent *);
    virtual void mouseMoveEvent(QMouseEvent *event);
    virtual void mousePressEvent(QMouseEvent * event);
    virtual void mouseReleaseEvent(QMouseEvent *event);
    virtual void timerEvent(QTimerEvent *event);


public slots:
	void onShowCurrentHeartBeat();
	void onEnableRuler();
	void onAmplify();

public:
    void setMainWnd(QWidget* pWnd);


private:

private:
    QWidget* mainWnd;

private:
};

#endif // __UI_TOOLMENU_H__
